<!--#include file="Member_Inc.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员中心--黄页发布</title>

<META HTTP-EQUIV="pragma" CONTENT="no-cache" />
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate" />
<META HTTP-EQUIV="expires" CONTENT="0" />
<link href="/skin/09/index.css" rel="stylesheet" type="text/css" media="screen" />
<script language="javascript" src="js/yellowpage.js"></script>
<script language=javascript src="/js/my_validator.js"></script>
<script language="javascript">
<!--
	function VerifyInput()
	{
	
		var Corp_Name = document.getElementById("Corp_Name").value;
		if (Corp_Name=="")
		{
			alert("请输入公司名称!");
			return false;
		}
		
	
		var Products = document.getElementById("Products").value;
		if (Products=="")
		{
			alert("请输入主要产品及服务");
			return false;
		}

		
		
		var YP_ID  = document.getElementById("YP_ID").value;
		if (YP_ID=="")
		{
			alert("请选择有效的类别");
			return false;
		}
		
		var YPS_ID  = document.getElementById("YPS_ID").value;
		if (YPS_ID=="")
		{
			alert("请选择有效的小类");
			return false;
		}
		var YPI_Area  = document.getElementById("YPI_Area").value;
		if (YPI_Area=="")
		{
			alert("请选择所属地区");
			return false;
		}


		var Link = document.getElementById("Link").value;
		if (Link=="")
		{
			alert("请输入联系人!");
			return false;
		}

		var address = document.getElementById("address").value;
		if (address=="")
		{
			alert("请输入地址!");
			return false;
		}

		var tel = document.getElementById("tel").value;
		if (tel=="")
		{
			alert("请输入电话!");
			return false;
		}

		
		var email = document.getElementById("email").value;

		if (email=="")
		{
			alert("请输入邮件地址!");
			return false;
		}
		var Content = document.getElementById("Content").value;
		if (Content=="")
		{
			alert("请输入企业或产品简介!");
			return false;
		}

		
		return true;

	}
//-->
</script></head>
<body ><!--top-->

<!--#include Virtual="/include/Head.asp" -->

<div class="top"></div>
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0" class="sbj6">
  <tr>
    <td  width="248" height="52"><img src="img/qiye.gif" width="248" height="52"></td>
    <td width="742" background="img/qiye_bj.gif">&nbsp;</td>
  </tr>
</table>
  <table width="940" border="0" align="center" cellpadding="0" cellspacing="0" class="sbj6">
    <tr>
      <td width="769" height="678" valign="top"><table width="769" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="195" height="316" valign="top"><table width="195" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td  width="195" height="9"><img src="img/left_01.gif" width="195" height="9" /></td>
              </tr>
              <tr>
                <td height="218" valign="top" background="img/left_bj.gif"><table width="176" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td  width="176" height="54"><img src="img/left_biao_01.gif" width="176" height="54" /></td>
                    </tr>
                    <tr>
                      <td height="82" valign="top" background="img/left_biao_bj.gif"><% Call Left_Menu1() %></td>
                    </tr>
                    <tr>
                      <td  width="176" height="11"><img src="img/left_biao_di.gif" width="176" height="11" /></td>
                    </tr>
                  </table>
                    <table width="176" border="0" align="center" cellpadding="0" cellspacing="0" class="sbj8">
                      <tr>
                        <td  width="176" height="54"><img src="img/left_biao_04.gif" width="176" height="54" /></td>
                      </tr>
                      <tr>
                        <td height="66" valign="top" background="img/left_biao_bj.gif"><% Call Left_Menu2() %></td>
                      </tr>
                      <tr>
                        <td  width="176" height="11"><img src="img/left_biao_di.gif" width="176" height="11" /></td>
                      </tr>
                  </table></td>
              </tr>
              <tr>
                <td  width="195" height="11"><img src="img/left_02.gif" width="195" height="11" /></td>
              </tr>
            </table></td>
            <td width="12">&nbsp;</td>
            <td width="583" valign="top"><table width="557" height="24" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="562" height="30"><span class="hong cu"><%=Session("username")%></span> </td>
                </tr>
              </table>
			  <form action="YP_Post_Do.asp" method="post" onSubmit="return VerifyInput();">
              <table width="100%" height="333" border="0" cellpadding="1" cellspacing="1" bgcolor="#E8E8E8">
                <tr>
                  <td width="21%" align="right" bgcolor="#FFFFFF">公司名称:</td>
                  <td width="79%" align="left" bgcolor="#FFFFFF">
                    <label>
                      <input type="text" name="Corp_Name" size="40" maxlength="255"/>*
                    </label>                  </td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">主要产品及服务:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
				  <textarea name="Products" rows="5" cols="60"></textarea>*
                  </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">类别:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
 					  <% AjaxSelected_BySql "YP_ID","SELECT YP_ID,YP_Name FROM YellowPage_Type ORDER BY YP_Order ASC","",YP_ID,"YellowPage_Type_Select()" %>
                 </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">二级小尖:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
					 <select name="YPS_ID" id="YPS_ID" >
						<option value="">选择小类</option>
					 </select>
                  </label></td>
                </tr>

                <tr>
                  <td align="right" bgcolor="#FFFFFF">地区:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
					<% Selected_BySql "YPI_Area","SELECT DSI_Name,DSI_Name from uvw_Dic_Item  WHERE DI_Name='地区' ORDER BY DSI_Order ASC","",YPI_Area %>                  </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">联系人:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
                    <input type="text" name="Link" size="20" maxlength="20"/>*
                  </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">地址:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
                    <input type="text" name="address" size="40" maxlength="100"/>*
                  </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">电话:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
                    <input type="text" name="tel" size="20" maxlength="20"/>*
                  </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">邮箱:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
                    <input type="text" name="email"  size="40" maxlength="255"/>*
                  </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">网站:</td>
                  <td align="left" bgcolor="#FFFFFF"><label>
                    <input type="text" name="website" size="40" maxlength="255"/>
                  </label></td>
                </tr>
                <tr>
                  <td align="right" bgcolor="#FFFFFF">企业或产品简介:</td>
                  <td bgcolor="#FFFFFF"><label>
                    <textarea name="Content" cols="60" rows="7"></textarea>*
                  </label></td>
                </tr>
                <tr>
                  <td colspan="2" align="center" bgcolor="#FFFFFF"><label>
                    <input type="submit" name="Submit" value="提交" />
                 &nbsp; 
                 <input type="reset" name="Submit2" value="重新填写" />
                  </label></td>
                </tr>
              </table>
			  </form>
			  </td>
          </tr>
      </table></td>
      <td width="1" bgcolor="F1B5A4"></td>
      <td width="170" valign="top"><br><br></td>
    </tr>
  </table>
  <!--/left-->
  <!--right-->
  <!--/right-->
</div>
<!--/d-->
<!--申请友情链接-->
<!--/e-->
<script language="javascript">
<!--
var YPS_ID=0;
YellowPage_Type_Select();
//-->
</script>

</body>
</html>

<% Call Conn_Close() %>